﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NEWAdminUploadResult.aspx.cs" Inherits="mpsalaryprojectgroup.NEWAdminUploadResult" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">

    <meta charset="utf-8" />

	<!-- Set the viewport width to device width for mobile -->
	<meta name="viewport" content="initial-scale=1, maximum-scale=1" />

	<title>Welcome to the PGS Portal</title>
  
	<!-- Included CSS Files -->
	<link rel="stylesheet" href="CSS\foundation.css">
	<link rel="stylesheet" href="CSS\app.css">
    <link rel="stylesheet" href="CSS\ie.css">


	<!-- IE Fix for HTML5 Tags -->
	<!--[if lt IE 9]>
		<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

    <!--CSS for hover over navigation tab-->
    
    <link rel="stylesheet" href="CSS/Tab.css">
    <script type="text/javascript" src="dropdown_menu.js"></script>
    <script type="text/javascript">
        var websiteID = 'thedesignsuperhero.com';
    </script>
    <script type="text/javascript" src="http://analytics.hosting24.com/s.php"></script>
    <noscript>
    <a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/s.php?websiteID=thedesignsuperhero.com" alt="web hosting" /></a>
    </noscript>

        <!--Navigation tab part 2 -->
<script>
    // Javascript originally by Patrick Griffiths and Dan Webb.
    // http://htmldog.com/articles/suckerfish/dropdowns/
    sfHover = function () {
        var sfEls = document.getElementById("navbar").getElementsByTagName("li");
        for (var i = 0; i < sfEls.length; i++) {
            sfEls[i].onmouseover = function () {
                this.className += " hover";
            }
            sfEls[i].onmouseout = function () {
                this.className = this.className.replace(new RegExp(" hover\\b"), "");
            }
        }
    }
    if (window.attachEvent) window.attachEvent("onload", sfHover);
</script>
    
    <%--<link rel="stylesheet" href="CSS\Tab1.css">--%>

    <style type="text/css">
        .style1
        {
            color: #000000;
        }
        .style2
        {
            color: #FF9933;
        }
        .style3
        {
            color: #663300;
        }
        </style>
</head>
<body>

    <form id="form1" runat="server">
    <div class="container">
		<div class="row">
			<div class="twelve columns" align="center">
				<h2><img alt="" src="Images/orangesample%20copy.jpg" /></h2>
			</div>
		</div>

           <div class="row">
        <!--for navigation tab-->
            <%--<ul id="button">

         <li><a href="#">Home</a></li>
         <li><a href="#">About</a></li>
         <li><a href="#">Services</a></li>
         <li><a href="#">Clients</a></li>
         <li><a href="#">Products</a></li>
         <li><a href="#">F.A.Q</a></li>
         <li><a href="#">Contact Us</a></li>
         <li><a href="/NEWMainPage.aspx">Sign Out</a></li>
           </ul>--%>


        <!--Navigation part 2-->
		<ul id="navbar">
			<li><a href="NEWAdminUploadResult.aspx">Home</a>
            <!-- put link to link back to homepage -->
			</li>
			<li><a href="NEWUpdateData.aspx">Edit</a>			
			</li>
            <%--<li><a href="/NEWAnalytical.aspx">Analytical</a>
                <ul>
                    <li><a href="/NEWAnalytical.aspx">Analyse</a></li>
                    <li><a href="/NEWNEWReport.aspx">Report</a></li>
                </ul>
            </li>--%>

			<%--<li><a href="/NEWAdminContactUs.aspx">Contact Us</a>
				<!--put contact details plus google map-->		
			</li>--%>
			<li><a href="NEWAdminDelete.aspx">Delete Users</a>	
                <ul>
				</ul>            	
			</li>

            <li><a href="NEWMainPage.aspx">Logout</a>	
                <ul>
                </ul>        	
			</li>

		</ul>
</div>

     <div class="row">
        <div class="twelve columns">
            Dear
            <asp:Label ID="lblUsername" runat="server" Font-Bold="True"></asp:Label>
            ,</div>
    </div>

        <div class="row">
            <div class="twelve columns" align="center">
                <h3 class="style2">Upload Excel Spreadsheet</h3>
            </div>
        </div>

        

        <div class="row">
            <div class="twelve columns" align="center">
                <asp:ImageButton ID="ImageButton1" runat="server" Height="53px" 
                    ImageUrl="~/Images/1326852639_file_upload.png" onclick="ImageButton1_Click" 
                    ToolTip="Upload Excel Spreadsheet" Width="52px" />
                <asp:ImageButton ID="ImageButton2" runat="server" Height="53px" 
                    ImageUrl="~/Images/1326852899_View.png" onclick="ImageButton2_Click" 
                    ToolTip="View data" Width="52px" />
                <asp:ImageButton ID="ImageButton3" runat="server" Height="53px" 
                    ImageUrl="~/Images/1326853061_stock_mail-import.png" onclick="ImageButton3_Click" 
                    ToolTip="Import Data" Width="52px" />
                <br />
                <asp:Label ID="lblImported" runat="server" ForeColor="Red"></asp:Label>
                <asp:Label ID="lblduplicate" runat="server"></asp:Label>
            </div>
        </div>

        <div class="row">
            <div class="twelve columns" align="center">
            </div>
        </div>

        <div class="row">
            <div class="twelve columns" align="center">
            <asp:Panel ID="PanelUpload" runat="server">
                <span class="style1">
                <asp:FileUpload ID="uploadFileTextbox" runat="server" />
                <br />
                </span><span class="style3">Please select an Excel file to import</span><br />
                <asp:Button ID="ButtonUploadFile" runat="server" Text="Upload File" 
                    onclick="ButtonUploadFile_Click" BackColor="#FFCC66" Font-Bold="True" 
                    ForeColor="#663300" /><br />
                <asp:Label ID="LabelUpload" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label></asp:Panel>
            </div>
        </div>

        <div id="page-wrap">
        <div class="row">
                <div class="twelve columns" align="center">
                <asp:Panel ID="PanelView" runat="server" Width="945px">
                
                <asp:GridView ID="GridViewExcel" runat="server" HorizontalAlign="Center" 
                        BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" 
                        CellPadding="2" Font-Size="XX-Small" ForeColor="Black" GridLines="None" >
                    <AlternatingRowStyle BackColor="PaleGoldenrod" />
                    <FooterStyle BackColor="Tan" />
                    <HeaderStyle BackColor="Tan" Font-Bold="True" />
                    <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
                        HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                    <SortedAscendingCellStyle BackColor="#FAFAE7" />
                    <SortedAscendingHeaderStyle BackColor="#DAC09E" />
                    <SortedDescendingCellStyle BackColor="#E1DB9C" />
                    <SortedDescendingHeaderStyle BackColor="#C2A47B" />
                </asp:GridView></asp:Panel>
                </div>
            </div>
        </div>


        <div class="row">
        <div class="twelve columns" align="center">
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
            <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/school.JPG" />
            <div class="six column"></div>
        </div>
    </div>


        <!-- Included JS Files -->
	<script src="javascripts/foundation.js"></script>
	<script src="javascripts/app.js"></script>

    </form>
</body>
</html>

